<?php ob_start() ?>

<div class="row">
    <?php if (isset($_SESSION['adminbetporra_msj'])) { ?>
        <div class="alert alert-success alert-dismissable col-lg-12 text-center">
            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
            <strong><?php echo $_SESSION['adminbetporra_msj'] ?></strong>
        </div>
        <?php
        unset($_SESSION['adminbetporra_msj']);
    }
    ?>
    <div class="col-lg-12">
        <h1>Partidos <small>Datos Partido</small></h1>
    </div>
</div>
<hr>
<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-primary">
            <div class="panel-heading">
                <h3 class="panel-title"><i class="fa fa-archive"></i> Datos del Partido</h3>
            </div>
            <div class="panel-body">
                <div class="table-responsive">
                    <table class="table table-bordered table-striped table-hover">
                        <tbody>
                            <tr>
                                <th>Fecha</th>
                                <td><?php echo date("d-m-Y H:i", strtotime($params_partido['fecha'])); ?></td>
                            </tr>
                            <tr>
                                <th>Equipo Local</th>
                                <td><?php echo $params_partido['equipolocalnombre'] ?></td>
                            </tr>
                            <tr>
                                <th>Equipo Vistante</th>
                                <td><?php echo $params_partido['equipovisitantenombre'] ?></td>
                            </tr>
                            <tr>
                                <th>Goles Local</th>
                                <td><?php echo $params_partido['goles_local'] ?></td>
                            </tr>
                            <tr>
                                <th>Goles Visitante</th>
                                <td><?php echo $params_partido['goles_visitante'] ?></td>
                            </tr>
                            <tr>
                                <th>Estado</th>
                                <td><?php echo $params_partido['estado'] ?></td>
                            </tr>
                            <tr>
                                <th>Porra</th>
                                <td><?php echo $params_partido['porra'] ?></td>
                            </tr>
                            </tbody>
                    </table>
                </div>
            </div>
        </div>
     </div>

    <?php
    $contenido = ob_get_clean();
    include "app/templates/template_admin.php";
    ?>
